# -*- coding: utf-8 -*-
"""
@Time : 2024/5/4 3:42 PM
@Author: imamhusan
@Des: 描述
"""
from pydantic import BaseModel, Field
from typing import Optional


class OrderData(BaseModel):
    name: str
    phone: str = Field(..., pattern="^1[34567890]\\d{9}$", description="手机号")
    address: str
    cardList: list
